package com.unidt.www.module.expert.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author sk
 * @Description:
 * @Date 2022/12/9 13:19
 **/
@Data
public class ExpertInfoExcelVo {


    @ApiModelProperty("专家姓名")
    @Excel(name = "专家姓名", width = 20)
    @NotEmpty(message = "专家姓名不能为空")
    String  name;

    @ApiModelProperty("区域编码")
    @NotNull(message = "区域编码不能为空")
    @Excel(name = "区域编码", width = 20)
    Long  organId;

    @ApiModelProperty("区域名称")
    @Excel(name = "区域名称", width = 20)
    @NotEmpty(message = "区域名称不能为空")
    String  organName;

    @ApiModelProperty("性别")
    @Excel(name = "性别", width = 20)
    @NotEmpty(message = "区域名称不能为空")
    String  gender;

    @ApiModelProperty("身份证")
    @Excel(name = "身份证", width = 20)
    @NotEmpty(message = "身份证不能为空")
    String  idCard;

    @ApiModelProperty("联系电话")
    @Excel(name = "联系电话", width = 20)
    @NotEmpty(message = "联系电话不能为空")
    String  phone;

    @ApiModelProperty("邮箱")
    @Excel(name = "邮箱", width = 20)
    String  email;

    @Excel(name = "出生日期", width = 20)
    Date birthday ;

    @Excel(name = "常驻地址", width = 50)
    String address;

    @Excel(name = "专业背景", width = 50)
    String major;

    @Excel(name = "研究方向", width = 20)
    String  studyDirection;

    @Excel(name = "毕业院校", width = 50)
    String graduateSchool;

    @ApiModelProperty("最高学历")
    @Excel(name = "最高学历", width = 20)
    String maxEducation;

    @ApiModelProperty("单位名称")
    @Excel(name = "单位名称", width = 100)
    String unitName;

    @ApiModelProperty("单位地址")
    @Excel(name = "单位地址", width = 50)
    String unitAddress;

    @Excel(name = "职称", width = 50)
    @NotEmpty(message = "职称不能为空")
    String jobTitle;

    @Excel(name = "作品著作", width = 50)
    String works;

    @Excel(name = "擅长领域", width = 50)
    @NotEmpty(message = "擅长领域不能为空")
    String areaExpertise;

    @Excel(name = "标签", width = 50)
    String tags;

    @Excel(name = "民族", width = 20)
    String nation;



}
